﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>Seminar: Seminar.fsmcs File Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                C# examples using state machines generated by StateBuilderDotNet
            </h1>
            <h3>
                Seminar: Seminar.fsmcs File Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Seminar.fsmcs File Reference</div>  </div>
</div>
<div class="contents">

<p><a href="_seminar_8fsmcs_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&lt;?xmlversion=&quot;1.0&quot;encoding=&quot;UTF-8&quot;?&gt;<br class="typebreak"/>
&lt; sm:StateMachinexmlns:sm=&quot;http:xmlns:xsi=&quot;http:xsi:schemaLocation=&quot;http:http:<br class="typebreak"/>
&lt;!--generalsettings--&gt;<br class="typebreak"/>
&lt;settingsasynchronous=&quot;false&quot;namespace=&quot;StateForge.Examples.Seminar&quot;&gt;<br class="typebreak"/>
&lt;objectinstance=&quot;mySeminar&quot;class=&quot;SeminarActuator&quot;/&gt;<br class="typebreak"/>
&lt;contextclass=&quot;SeminarContext&quot;/&gt;<br class="typebreak"/>
&lt;/settings&gt;&lt;!--events--&gt;<br class="typebreak"/>
&lt;events&gt;&lt;eventSourcename=&quot;Seminar&quot;feeder=&quot;Seminar&quot;&gt;<br class="typebreak"/>
&lt;eventid=&quot;Cancelled&quot;/&gt;&lt;eventid=&quot;TermStarted&quot;/&gt;<br class="typebreak"/>
&lt;eventid=&quot;ClassesEnded&quot;/&gt;<br class="typebreak"/>
&lt;eventid=&quot;ExamsClosed&quot;/&gt;<br class="typebreak"/>
&lt;eventid=&quot;StudentEnrollRequest&quot;&gt;<br class="typebreak"/>
&lt;parametername=&quot;student&quot;type=&quot;Student&quot;/&gt;<br class="typebreak"/>
&lt;/event&gt;&lt;eventid=&quot;StudentDropped&quot;preAction=&quot;mySeminar.RemoveConfirmedStudent(student)&quot;&gt;<br class="typebreak"/>
&lt;parametername=&quot;student&quot;type=&quot;Student&quot;/&gt;<br class="typebreak"/>
&lt;/event&gt;&lt;/eventSource&gt;&lt;/events&gt;<br class="typebreak"/>
&lt;!--States--&gt;&lt;statename=&quot;Root&quot;&gt;<br class="typebreak"/>
&lt;transitionevent=&quot;Cancelled&quot;nextState=&quot;End&quot;/&gt;<br class="typebreak"/>
&lt;!--StatesEnrollment--&gt;<br class="typebreak"/>
&lt;statename=&quot;Enrollment&quot;&gt;<br class="typebreak"/>
&lt;onEntryaction=&quot;mySeminar.StartEnrollment()&quot;/&gt;<br class="typebreak"/>
&lt;onExitaction=&quot;mySeminar.StopEnrollment()&quot;/&gt;<br class="typebreak"/>
&lt;transitionevent=&quot;TermStarted&quot;nextState=&quot;BeingTaught&quot;/&gt;<br class="typebreak"/>
&lt;!--StatesOpenForEnrollment--&gt;<br class="typebreak"/>
&lt;statename=&quot;OpenForEnrollment&quot;&gt;<br class="typebreak"/>
&lt;transitionevent=&quot;StudentEnrollRequest&quot;condition=&quot;(mySeminar.StudentsCount+1)==mySeminar.MaxStudents&quot;nextState=&quot;Full&quot;&gt;<br class="typebreak"/>
&lt;action&gt; mySeminar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_seminar_8fsmcs.html#a7a56923f4b2fd072918c395efe861a1f">ConfirmStudentEnrollment</a> (student)&lt;/action &gt;&lt;/transition &gt;&lt; transition event</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a7a56923f4b2fd072918c395efe861a1f"></a><!-- doxytag: member="Seminar.fsmcs::ConfirmStudentEnrollment" ref="a7a56923f4b2fd072918c395efe861a1f" args="(student)&lt;/action &gt;&lt;/transition &gt;&lt; transition event" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&lt;?xmlversion=&quot;1.0&quot;encoding=&quot;UTF-8&quot;?&gt;&lt;sm:StateMachinexmlns:sm=&quot;http:xmlns:xsi=&quot;http:xsi:schemaLocation=&quot;http:http:&lt;!--generalsettings--&gt;&lt;settingsasynchronous=&quot;false&quot;namespace=&quot;StateForge.Examples.Seminar&quot;&gt;&lt;objectinstance=&quot;mySeminar&quot;class=&quot;SeminarActuator&quot;/&gt;&lt;contextclass=&quot;SeminarContext&quot;/&gt;&lt;/settings&gt;&lt;!--events--&gt;&lt;events&gt;&lt;eventSourcename=&quot;Seminar&quot;feeder=&quot;Seminar&quot;&gt;&lt;eventid=&quot;Cancelled&quot;/&gt;&lt;eventid=&quot;TermStarted&quot;/&gt;&lt;eventid=&quot;ClassesEnded&quot;/&gt;&lt;eventid=&quot;ExamsClosed&quot;/&gt;&lt;eventid=&quot;StudentEnrollRequest&quot;&gt;&lt;parametername=&quot;student&quot;type=&quot;Student&quot;/&gt;&lt;/event&gt;&lt;eventid=&quot;StudentDropped&quot;preAction=&quot;mySeminar.RemoveConfirmedStudent(student)&quot;&gt;&lt;parametername=&quot;student&quot;type=&quot;Student&quot;/&gt;&lt;/event&gt;&lt;/eventSource&gt;&lt;/events&gt;&lt;!--States--&gt;&lt;statename=&quot;Root&quot;&gt;&lt;transitionevent=&quot;Cancelled&quot;nextState=&quot;End&quot;/&gt;&lt;!--StatesEnrollment--&gt;&lt;statename=&quot;Enrollment&quot;&gt;&lt;onEntryaction=&quot;mySeminar.StartEnrollment()&quot;/&gt;&lt;onExitaction=&quot;mySeminar.StopEnrollment()&quot;/&gt;&lt;transitionevent=&quot;TermStarted&quot;nextState=&quot;BeingTaught&quot;/&gt;&lt;!--StatesOpenForEnrollment--&gt;&lt;statename=&quot;OpenForEnrollment&quot;&gt;&lt;transitionevent=&quot;StudentEnrollRequest&quot;condition=&quot;(mySeminar.StudentsCount+1)==mySeminar.MaxStudents&quot;nextState=&quot;Full&quot;&gt;&lt;action&gt; mySeminar ConfirmStudentEnrollment </td>
          <td>(</td>
          <td class="paramtype">student&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
